<div ng-controller="topicDetailContro">
    <div class="artile-list">
        <ul>
            <!--遍历list数组，把每一项数组元素赋给list-->
            <li class="clearfix" ng-repeat="(key, list) in list"><a ng-click="select(list.id)"><b>{{list.title}}</b></a><span>{{list.createTime|date: 'yyyy.MM.dd hh:mm'}}</span></li>

        </ul>
    </div>
    <div class="page">
        <ul>
            <li ng-class="{true:'disabled'}[p_current==1]"><a href="javascript:void(0);" ng-click="p_index()">首页</a></li>
            <li ng-repeat="page in pages" ng-class="{true:'active'}[p_current==page]"><a href="javascript:void(0);" ng-click="load_page(page)">{{ page }}</a></li>
            <li ng-class="{true:'disabled'}[p_current==p_all_page]"><a  ng-click="p_last()">尾页</a></li>

        </ul>
        <span class="count" style="vertical-align: 12px;">  共：{{count}} 条</span>

    </div>
</div>
